using System;
using System.Collections;
using System.Collections.Generic;
using FrameWork;
using UnityEngine;

public class AudioSFXObj : MonoBehaviour
{

    private void Start()
    {
        Invoke("Dis", GetComponent<AudioSource>().clip.length);
    }

    private void Dis()
    {
        ObjectPool.Instance.Replace("AudioSFX", this.gameObject);
    }
}
